package cn.chendd.api.nacos.confg;

import cn.chendd.base.swagger.BaseSwagger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;

/**
 * Nacos 配置
 *
 * @author chendd
 * @date 2022/9/25 21:50
 */
@Configuration
public class NacosSwaggerConfig implements BaseSwagger {

    @Bean
    public Docket createNacosSwagger() {
        return BaseSwagger.super.newInstance("Nacos Api测试");
    }
}
